﻿@model _1._2._2015_MVCTodo.Models.UpdateTodoViewModel
@{
    ViewBag.Title = "Update";
}

<h2>Update</h2>
@using (Html.BeginForm())
{
    <div>
        @Html.LabelFor(m => m.Text)<br />
        @Html.TextBoxFor(m => m.Text)
    </div>
    <div>
        @Html.LabelFor(m => m.IsCompleted)<br />
        @Html.CheckBoxFor(m => m.IsCompleted)
    </div>
    <div>
        <input type="submit" value="Update" />
    </div>
}
